<%-- 
    Document   : AdminDashboard
    Created on : Feb 22, 2014, 10:39:07 AM
    Author     : Mukesh
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    try {
        if (session.getAttribute("uid") != null) {
%>
<!doctype html>
<html lang="en">

    <head>
        <meta charset="utf-8">
        <title>Ramgovind Automated System</title>
        <meta name="description" content="">

        <meta name="viewport" content="width=device-width">

        <link rel="stylesheet" href="/RIT/css/bootstrap.css">
        <link rel="stylesheet" href="/RIT/css/bootstrap-responsive.css">
        <link rel="stylesheet" href="/RIT/css/jquery.fancybox.css">
        <link rel="stylesheet" href="/RIT/css/style.css">
        <link rel="stylesheet" href="/RIT/css/iconfont.css">
        <style>

            .content1 .box .box-head {
                *zoom: 1;
                color: #595959;
                padding: 6px 15px 6px 15px;
                border-bottom: 1px solid #a6a6a6;
                background-color: #f5f5f5;
                background-image: -moz-linear-gradient(top, #fafafa, #ededed);
                background-image: -ms-linear-gradient(top, #fafafa, #ededed);
                background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fafafa), to(#ededed));
                background-image: -webkit-linear-gradient(top, #fafafa, #ededed);
                background-image: -o-linear-gradient(top, #fafafa, #ededed);
                background-image: linear-gradient(top, #fafafa, #ededed);
                background-repeat: repeat-x;
                filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#ededed', GradientType=0);
                -webkit-border-radius: 3px 3px 0 0;
                -moz-border-radius: 3px 3px 0 0;
                border-radius: 3px 3px 0 0;
            }
            .content1 .box .box-content {
                *zoom: 1;
                background: #fff;
                padding: 15px;
                -webkit-border-radius: 0 0 2px 2px;
                -moz-border-radius: 0 0 2px 2px;
                border-radius: 0 0 2px 2px;
            }
            h1,h2,h3,h4{

                color:#c00;
            }
            
            .footer {
                //position:absolute;
               // top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
            }
 .row-fluid .span12 {
    box-shadow: 1px 0 5px 2px ;
  }
  .row-fluid .span6 {
     box-shadow: 1px 0 5px 2px;
  }
        </style>
    </head>
    <body>
        <%@include file="/dashboard-topheader.html" %>
        <div class="main" style="margin-bottom:30px;">
            <div class="container-fluid" style="">

                <div class="content1" style="padding: 5px; margin: auto; max-width: 960px; ">
                    <img src="/RIT/img/ritlogo.png" style=" height: 130px; margin-left: 25px; float: left;">
                    <h1 class="nme" style="float:left; margin-top:40px; margin-left:57px;font-size:43px;  "> RAMGOVIND AUTOMATED SYSTEM </h1>

                    <div class="row-fluid" style="margin-top:160px;  ">
                        <div class="span6">
                            <div class="box">
                                <div class="box-head">
                                    <h3>Quick statistics</h3>
                                </div>
                                <div class="box-content">
                                    <strong>Quick statistics</strong>!
                                    <ul class="quickstats">
                                        <li>
                                            <div class="small-chart" data-color="6a9d29" data-stroke="345010" data-type="line">5,3,9,6,5,9,7,3,5,10</div>
                                            <div class="chart-detail">
                                                <span class="amount green">+ 9834.41</span>
                                                <span class="description">Label</span>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="small-chart" data-color="2c5b96" data-stroke="102c50" data-type="bar">2,5,4,6,5,4,7,8</div>
                                            <div class="chart-detail">
                                                <span class="amount">128.32</span>
                                                <span class="description">Label</span>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="small-chart" data-color="962c2c" data-stroke="651111" data-type="pie">6/10</div>
                                            <div class="chart-detail">
                                                <span class="amount">60%</span>
                                                <span class="description">Label</span>
                                            </div>
                                        </li>
                                        <li>
                                            <div class="small-chart" data-color="6a9d29" data-stroke="345010" data-type="line">5,3,9,6,5,9,7,3,5,10</div>
                                            <div class="chart-detail">
                                                <span class="amount green">+ 9834.41</span>
                                                <span class="description">Label</span>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="span6">
                            <div class="box">
                                <div class="box-head">
                                    <h3>Pie statistics</h3>
                                </div>
                                <div class="box-content">
                                    <div class="flot flot-pie">
                                        <p id="l1">Civil</p>
                                        <p id="l2">Mechanical</p>
                                        <p id="l3">Computer Science</p>
                                        <p id="l4">Electronics</p>
                                        <p id="l5">Electrical</p>
                                        <p id="c1">10</p>
                                        <p id="c2">5</p>
                                        <p id="c3">5</p>
                                        <p id="c4">5</p>
                                        <p id="c5">15</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row-fluid" style="">
                        <div class="span12">
                            <div class="box">
                                <div class="box-head">
                                    <h3>Bars</h3>
                                </div>
                                <div class="box-content">
                                    <div class="flot flot-bar">
                                        
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div> 

            </div>
        </div>
        
        <script src="/RIT/js/jquery.js"></script>
        <script src="/RIT/js/less.js"></script>
        <script src="/RIT/js/bootstrap.min.js"></script>
        <script src="/RIT/js/jquery.peity.js"></script>
        <script src="/RIT/js/jquery.uniform.min.js"></script>
        <script src="/RIT/js/bootstrap.timepicker.js"></script>
        <script src="/RIT/js/bootstrap.datepicker.js"></script>
        <script src="/RIT/js/chosen.jquery.min.js"></script>
        <script src="/RIT/js/plupload/plupload.full.js"></script>
        <script src="/RIT/js/plupload/jquery.plupload.queue/jquery.plupload.queue.js"></script>
        <script src="/RIT/js/jquery.cleditor.min.js"></script>
        <script src="/RIT/js/jquery.inputmask.min.js"></script>
        <script src="/RIT/js/jquery.tagsinput.min.js"></script>
        <script src="/RIT/js/jquery.mousewheel.js"></script>
        <script src="/RIT/js/jquery.textareaCounter.plugin.js"></script>
        <script src="/RIT/js/ui.spinner.js"></script>
        <script src="/RIT/js/jquery.fancybox.js"></script>
        <script src="/RIT/js/jquery.flot.js"></script>
        <script src="/RIT/js/jquery.flot.pie.js"></script>
        <script src="/RIT/js/jquery.color.js"></script>
        <script src="/RIT/js/jquery.flot.resize.js"></script>
        <script src="/RIT/js/jquery.flot.orderBars.js"></script>
        <script src="/RIT/js/jquery.cookie.js"></script>
        <script src="/RIT/js/custom.js"></script><script src="/RIT/js/demo.js"></script>
    </body>

</html>
<%
        } else {
            request.setAttribute("msg", "You Are Not Authorised! Please Contact to System Administrator!");
            request.setAttribute("value", "0");
            getServletContext().getRequestDispatcher("/index.jsp").forward(request, response);
        }
    } catch (Exception e) {
        request.setAttribute("msg", "Please Contact to System Administrator!");
        request.setAttribute("value", "0");
        getServletContext().getRequestDispatcher("/index.jsp").forward(request, response);
    }
%>